package com.hgxd.mapper;

import com.hgxd.entity.pojo.SlaveLinkGroup;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hgxd.entity.req.ReqSlaveGroup;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 从机和从机分组关联表 Mapper 接口
 * </p>
 *
 * @author wtf
 * @since 2024-09-02
 */
@Mapper
public interface SlaveLinkGroupMapper extends BaseMapper<SlaveLinkGroup> {

    /**
     * 在从机分组中插入从机
     * @param slaveGroup
     * @return
     */
    Boolean saveSlaveGroups(ReqSlaveGroup slaveGroup);
}
